package com.cqan.box.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.cqan.entity.pk.LongEntity;

@Entity
@Table(name="TBL_BOX_APP")
@SuppressWarnings("serial")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Application extends LongEntity {

	private String appid;
	
	private String certFile;
	
	private Date ctime;
	
	private String name;
	
	private String password;
	
	private Boolean production;
	

	public Boolean getProduction() {
		return production;
	}

	public void setProduction(Boolean production) {
		this.production = production;
	}

	public String getAppid() {
		return appid;
	}

	public String getCertFile() {
		return certFile;
	}

	public Date getCtime() {
		return ctime;
	}

	public String getName() {
		return name;
	}

	public String getPassword() {
		return password;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public void setCertFile(String certFile) {
		this.certFile = certFile;
	}

	public void setCtime(Date ctime) {
		this.ctime = ctime;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
}
